package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SafetyExaminationPaperquestion;

/**
 * 试卷题目Mapper接口
 * 
 * @author ruoyi
 * @date 2021-04-07
 */
public interface SafetyExaminationPaperquestionMapper 
{
    /**
     * 查询试卷题目
     * 
     * @param id 试卷题目ID
     * @return 试卷题目
     */
    public SafetyExaminationPaperquestion selectSafetyExaminationPaperquestionById(Long id);

    /**
     * 查询试卷题目列表
     * 
     * @param safetyExaminationPaperquestion 试卷题目
     * @return 试卷题目集合
     */
    public List<SafetyExaminationPaperquestion> selectSafetyExaminationPaperquestionList(SafetyExaminationPaperquestion safetyExaminationPaperquestion);

    /**
     * 新增试卷题目
     * 
     * @param safetyExaminationPaperquestion 试卷题目
     * @return 结果
     */
    public int insertSafetyExaminationPaperquestion(SafetyExaminationPaperquestion safetyExaminationPaperquestion);

    /**
     * 修改试卷题目
     * 
     * @param safetyExaminationPaperquestion 试卷题目
     * @return 结果
     */
    public int updateSafetyExaminationPaperquestion(SafetyExaminationPaperquestion safetyExaminationPaperquestion);

    /**
     * 删除试卷题目
     * 
     * @param id 试卷题目ID
     * @return 结果
     */
    public int deleteSafetyExaminationPaperquestionById(Long id);

    /**
     * 批量删除试卷题目
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSafetyExaminationPaperquestionByIds(Long[] ids);
}
